package com.cn.factory;

import com.cn.dao.BookDao;
import com.cn.dao.BookDaoImpl;

public class BookDaoFactoryTwo {
    public BookDao createBookDao(String name,String gender){
        System.out.println("实例工厂创建对象");
        return new BookDaoImpl(name,gender);
    }
}
